package cn.alise.qdp.model.organ;

import java.sql.Timestamp;

/**
 * 组织机构基本信息
 */
public class Organ implements java.io.Serializable{
	private static final long serialVersionUID = -5963728331474283993L;
	
	/**
	 * 组织机构Id
	 */
	private Long organId;
	
	/**
	 * 织组名称
	 */
	private String organName;
	
	/**
	 * 上级组织
	 */
	private Long parentId;
	
	/**
	 * 联系人
	 */
	private String contact;
	
	/**
	 * 联系电话
	 */
	private String telphoneNo;
	
	/**
	 * 邮箱
	 */
	private String email;
	
	/**
	 * 是否有效
	 */
	private Long isValid;
	
	/**
	 * 序号
	 */
	private Integer orderNo;
	
	/**
	 * 上级组织 name
	 */
	private String parentName;
	
	/**
	 * 创建时间
	 */
	private Timestamp createdTime;
	
	/**
	 * 创建人
	 */
	private Long creater;
	
	/**
	 * 修改时间
	 */
	private Timestamp updatedTime;
	
	/**
	 * 修改人
	 */
	private Long updator;
	
	/**
	 * 级数
	 */
	private Integer level;
	
	/**
	 * 上级串
	 */
	private String parentIdStr;
	
	/**
	 * 状态，1正常、2欠费、3已删除
	 */
	private Integer status; 
	
	//外参
	// String型organId
	private String organIdStr;
	
	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Long getIsValid() {
		return isValid;
	}

	public void setIsValid(Long isValid) {
		this.isValid = isValid;
	}

	public Long getOrganId() {
		return organId;
	}

	public void setOrganId(Long organId) {
		this.organId = organId;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getTelphoneNo() {
		return telphoneNo;
	}

	public void setTelphoneNo(String telphoneNo) {
		this.telphoneNo = telphoneNo;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}
	
	public Long getCreater() {
		return creater;
	}

	public void setCreater(Long creater) {
		this.creater = creater;
	}

	public Long getUpdator() {
		return updator;
	}

	public void setUpdator(Long updator) {
		this.updator = updator;
	}

	public String getOrganIdStr() {
		return organIdStr;
	}

	public void setOrganIdStr(String organIdStr) {
		this.organIdStr = organIdStr;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getParentIdStr() {
		return parentIdStr;
	}

	public void setParentIdStr(String parentIdStr) {
		this.parentIdStr = parentIdStr;
	}

}
